package com.markus.basic.设计模式.桥接模式;

/**
 * Author:markusZhang
 * Date:Create in 2020/8/31 11:30
 * todo:
 */
public class Circle extends Shape {
    private int x,y,radius;
    public Circle(int x,int y,int radius,DrawApi drawApi){
        super(drawApi);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }
    @Override
    public void draw() {
        drawApi.drawCircle(radius,x,y);
    }
}
